package com.xhh.nphm.system.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 电话工单抄送件表
 * @TableName tm_telCopy
 */
@TableName(value ="tWorkcsbase")
@Data
public class TWorkcsbase implements Serializable {
    /**
     * 抄送件表主键id
     */
    @TableId(value = "pkId", type = IdType.AUTO)
    private Integer pkId;

    /**
     * 抄送的工单件主键id
     */
    @TableField(value = "wfId")
    private Integer wfId;

    /**
     * 抄送给部门编号
     */
    @TableField(value = "deptId")
    private Integer deptId;

    /**
     * 部门名称
     */
    @TableField(value = "deptName")
    private String deptName;

    /**
     * 删除标识
     */
    @TableField(value = "isDel")
    @TableLogic
    private int isDel = 0;

    @TableField(value = "bringTime")
    private Date bringTime = new Date();

    @TableField(value = "flagInt")
    private int flagInt = 0;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public TWorkcsbase() {
    }

    public TWorkcsbase(Integer wfId, Integer deptId, String deptName) {
        this.wfId = wfId;
        this.deptId = deptId;
        this.deptName = deptName;
    }
}